package org.chen.aao.common.ai.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class TranslateRequest {
    @NotBlank(message = "待翻译文本不能为空")
    @Size(max = 5000, message = "文本长度不能超过5000个字符")
    private String text;

    @NotBlank(message = "源语言不能为空")
    private String sourceLang;

    @NotBlank(message = "目标语言不能为空")
    private String targetLang;
}
